package de.kardass.jannobatch.examples.simple.third;

import de.kardass.jannobatch.ItemProcessor;

public class ThirdStep1 implements ItemProcessor<ThirdA, ThirdB> {

	@Override
	public void onStartUp() {
		System.out.println("     " + getClass() + "-> init");
	}

	@Override
	public void onShutDown() {
		System.out.println("     " + getClass() + "-> finish");
	}

	@Override
	public ThirdB process(ThirdA item) {
		ThirdB b = new ThirdB(item.getName() + "-StepOne");
		System.out.println("     ..." + getClass() + "-> processing input: " + item);
		return b;
	}

}
